check for topologival correctness of tree after each add
Authored by: thibautd 2015-02-11
Parent: [r32047]
Child: [r32049]