Batch lines up as groups to minimize transactions