Limit max histogram buckets.