Add exports before the computation to allow export to be performed after each round.