Modified binary search debugging