Do as calculation in a separate pass