internal: changed minimum spannig tree abstract data type