pub const fn next_power_of_two_or_zero(n: usize) -> usize
Return either 0 if n is zero or the next power of two of n. Used to resize the number of rows in a trace matrix.