No longer adds first and last keys when initially generating the ranges