reduce number of batches for document