fix for chromosomes going out of range; affects unsorted input files