Fully supports nesting
Generated constant for max depth