added preprocessor directive for short vs long seq