working boost kruskal