Simple batching iterating over collections