How does mongoose insert data in batches?