Moved edges to build to next statement or to parent node