public void linkLayer(final int l1, final int l2) {
        //
        final Layer layer1 = this.layers.get(l1);
        final Layer layer2 = this.layers.get(l2);
        //
        for (int i = layer1.arrayslbd; i <= layer1.arraysubd; i++) {
            final CellArray a1 = this.arrays.get(i);
            if ((a1.ilctag & CellArray.ILC_OUT) != CellArray.ILC_OUT) continue;
            //
            for (int j = layer2.arrayslbd; j <= layer2.arraysubd; j++) {
                final CellArray a2 = this.arrays.get(j);
                if ((a2.ilctag & CellArray.ILC_IN) != CellArray.ILC_IN) continue;
                //
                this.link(a1.cellslbd,a1.cellsnum, a2.cellslbd, a2.cellsnum);
            }
            
        }
    }