moved more code over from Bowtie 2's getStretch function, fixing bug