added timing to kdtree tests