added kahan sum to reductions