// Second, apply the oneStepUndo map to all unreachable vertices
boolean changed = false;
for (int i = 0; i != pivot; ++i) {
if (!reachable[i]) {
State state = automaton.get(i);
if (state != null) {
changed |= state.remap(oneStepUndo);
}
}
}
// Third, minimise automaton (if applicable)