Faster partition for reducers