Completed the rangeSearch spec and implementation