UNSTABLE VERSION; checkpoint before revising representation of patterns ... switching machines
new representation of patterns and improved encoding of patterns to the solver