const MAX_DEPTH: usize = 8;
mexMGv6’s arrays hold 10 levels, and initializeMem writes the size of level depth + 1.
initializeMem
depth + 1