Correct, safe, and efficient.

Based on feedback from @soegaard we should not assume the unused bits
are zero.