implement minimize.
implement part of utf8 machine.