/* round up size to the next power of 2, that's the bucketing works */
That should probably be "that's the **way** bucketing works". Or maybe itis an idiom I don't grok.
Cheers,
Jeff