Solved bug which make reducers fail when num_reducers > 10