public UpdateTask(Region[][] array, int hij, int loj, int hii, int loi,
            int threshold, boolean irregular) {
        this.array = array;
        this.hij = hij;
        this.loj = loj;
        this.hii = hii;
        this.loi = loi;
        this.t = threshold;
        this.irregular = irregular;
    }