Added option to skip ends when enumerating interval loci