changed kd_tree_node to kd_tree