revise num of buckets