implement flattenropes in the JIT.

pretty much every bail that was flattenropes is now a bail caused by
graphs_s ...