tree rework