- re enable complex kd tree generation
- refactor coloring of triangles