Minor refactoring of partial reduce operations