public void IsNotDone()
  {
    if (!regime.equals(POLY2) || (regime.equals(POLY2) && firstpoly)) 
      done = false;
    else if (firstpoly && list2.n < 3) 
      done1 = false; 
    else if (secndpoly && list2.n < 3)
      done2 = false;
  }