Compute averages earlier and output those instead.