Source: https://www.csie.ntu.edu.tw/~kmchao/tree07spr/mst.pdf