add transEnum; change Transition struct
implement two-phase maximality checking