using batch size for fetcing all documents in collection