restruct tree again