pub const fn next_power_of_two(x: usize) -> usize
Returns the next power of two greater than or equal to x