Added findSmallestGreaterThan and findLargestLessThan