Bad binary search