Don't check for maximal depth, rather control stack usage and break recursion if...