Tree's height depends on its depth