Removed -1 for snps near the start and end of the chromosome