MST solver indentation
Remove redundant code