We could probably use a single in here and just compute the linear index in ``indexsets``.