Add binary search for a match or a range of values.