New alorithm: three-state freeze.  Should address issue #60.