minor modification for setting the number of max reducers