tree cycle