adding code for dividing loci into chunks