synchronization divide into batches