JAL-2609 process only up to end of alignment when shifting sequences