[Important] Bug Fix in Min Span Tree