Refactor to use cached KL divergence when generating initial edges at SW level 1.