simplify reduce step
Merge pull request #4 from escherba/pf_aug27

simplify reduce step