BinarySearch changes