- reworking KDTree to worki with subdivided triangles