wip: Kerningham-Lin partitioner implementation