Fix overflow in subBucketMask.

Closes #3. Again. :)