add feature to mst to make contribution to cc relation