add artificial and node if there is only a top or node with leafs