MaxDepth non-recursive