Fix of issue #2412: The iteration space for modarray WLs was computed wrongly
It used to be the shape of the modified array; now it is only the outer shape of that array. We use the index vector length to determine this.
It used to be the shape of the modified array; now it is only the outer shape of that array. We use the index vector length to determine this.