debug sah kdtree