Create tree depth