pub const MAX_GRAY_BITS: u32 = 24;
The largest number of bits of gray_code (16 777 216 code words; the $2^{n}$ words are allocated at once).
gray_code