Changed semantics of the max depth