math restructuring