find the range within the sorted array