kdtree half structure; occlusion point shadows; gui; tree structures refactoring