#481, fixed the MST problem in the score matrix