:updated kd-tree