pub const MAX_PAINT_DEPTH: usize = 32;
How deep a node of a version 2 tree may be: the root is at depth 0.