Interesting mistake
Extra curvature
State stack iteration
Recursive iteration performance boost attempt
State stack log removed
drawBranches returns a mapping of recursive depths to arrays of branches