change max depth