control reduce task number
Merge pull request #252 from matfed/master

control reduce task number