use a limit for finding buckets