added experimental feature of mid-calculation reductions