081013 with initial kdtree implementation working