Adding a forwarding header for every parallel algorithm