binary search usage in circular sorted array