btw, I do not know what is considered a complete rewrite. While the structure of my code is very different, the getNextState method is the same, and the vectors cclass and states are just the evaluated versions of the original ones that had expressions there.