Configurable number of buckets