add repeat buckets num get from cfg