Using iterators is a more general approach. So the 'input container' has only to support iterators and not access via ```operator[]```. It is possible to use lists, vectors or own data structures to construct an object of MeshSubsets.