finish nfa2dfa transform