BUCKETS
data->bucket = BUCKETS - 1;
for(i = 0; i < BUCKETS; i++)
unsigned int correction_factor[BUCKETS];