reintroduced a high recursion depth maximum limit. Needed for the _forward_visitor