fix kdtree accelerator