Finalizing tree