batch vectors at the right time in queue