Improvement of node construction

(automatically attach parents)
and of iterators.