m_spanningtree Introduce command builders