private void updateNeighbors(long[] l) {
        if((this.sectionID == 1) || (this.sectionID == 2)) {
            for(int i=0; i<height; i++) submesh[0][i].setTemp(l[i]);
            for(int i=0; i<height; i++) submesh[width-1][i].setTemp(l[i+height]);
        } else if(this.sectionID == 3) {
            for(int i=0; i<height; i++) submesh[0][i].setTemp(l[i]);
        } else {
            for(int i=0; i<height; i++) submesh[width-1][i].setTemp(l[i]);
        }
    }