Tree structures debugbed.

Some other debugging