reducing size of batches