more generic bucket tuning