reduce batch