private final static void ltLong(int sa, final PyMultiarray a, int sb, final PyMultiarray b, int sr, final PyMultiarray r, final int d) {
        final int dsa = a.strides[d], dsb = b.strides[d], dsr = r.strides[d], maxSr = sr
                + r.dimensions[d] * r.strides[d];
        if (d == r.dimensions.length - 1) {
            final long[] aData = (long[]) a.data, bData = (long[]) b.data;
            final int[] rData = (int[]) r.data;
            for (; sr != maxSr; sa += dsa, sb += dsb, sr += dsr) {
                rData[sr] = ((aData[sa] < bData[sb]) ? 1 : 0);
            }
        } else {
            for (; sr != maxSr; sa += dsa, sb += dsb, sr += dsr) {
                PyMultiarray.ltLong(sa, a, sb, b, sr, r, d + 1);
            }
        }
    }