rm kd-tree