Finish binary search