@Override
        public long toSourceValueIndex() {
            return lastComputedSourceValueIndex = super.toSourceValueIndex();
        }
In this case we can reuse the source index computation for the iteration index
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java