split words into batches