tail5: round to power-of-two