public long getStride(int dimension) {
        return sizes.productOfDimensionsAfter(dimension);
    }
returns the stride to be used for the given dimension
vespajlib/src/main/java/com/yahoo/tensor/DirectIndexedAddress.java