[#63365168] Optimize kdTree