Reimplemented batch-processing in reduce phase.