Do until 3rd level tree