Adding binary search