Move ULine code to m_spanningtree.