pub const MAX_D_ITERATIONS: u8 = 64;