adjusted maxdepth