Brown Tiger,
How do you get $tree to contain a different hash key for each roof plane? My experience shows that the object_id in Chief is not reliably different for different roof planes. IOW, I am pretty sure the data for each successive roof plane will overwrite the previous.
I would love to be proven wrong.