wip: implementing Kerningham-Lin