automatic spanning tree

See AST.