for (var r=0; r<X; r++)
    ix[r] = xs[r][Symbol.iterator]();