walk the dfa for all output modes