fixed bucket calculation