MST-Prim2 working