move the one-off 'plan b' solving function into the bondsubgraph module