+kruskal, SNM ver 1.1 and some bug fixed