Start node MUST be pointed for mst_prim.