Allow a max recursion depth