O(log n ) binary search without finding pivot