half done with PrimMST