Compute fluxes first, then merge with metadata