cleaned DAGBuilder
DAGImpl representation internalized