See the `jaraco-bisect-buckets-fetching_queue` branch in my repo.