binary search buckets