finish tree printing