Pass seriesCount to reduce bucket load
Bad scopign of variable
only bucket groups that need buckets
Align the buckets more evenly, and give an exactly count to the number of buckets