fn u32_len(ntrans: usize) -> usize
Computes the number of u32 values needed to represent one byte per the number of transitions given.