adjusted binary search ranges