binary search complete