Cleaning up parallized zero sum code