rename num_buckets -> buckets