debug binary search done