smaller batches saving to mongodb