Update the code for parametric flow in race-prune mode