binary search.