Tree depth

the same change here