kruskal portion finished. Now need to parse stages and produce visual