And given binary search is extremely easy to be implemented incorrectly, can you write some unit tests for this?