B:BD[
3.481] → [
2.550:783]
// List size approximation is insufficient for values of n = 0, 1, 2, 3, 4, 5, 6, 9 and 11, with the greatest difference of 4 when n = 2, requiring this correction.
let corrected_n = if n > 11 { n as f64 } else { (n + 4) as f64 };
// List size approximation is insufficient for values of n = 0, 1, 2, 3, 4, 5, 6, 9, 11 and 12, requiring this correction.
let corrected_n = (n + match n {
0 | 11 => 3,
1 | 5 | 6 | 9 => 4,
2 | 4 => 6,
3 => 5,
7 | 8 | 12 => 1,
_ => 0,
}) as f64;