Binary search tool