more accurate plotting of tree depths