Restructuring for paths