Nesting level control