Restructuring tree