Changes on MST algorithms