I have some data which represent a tree-like structure with many branches extending from it. A new point to be connected to the existing tree is found and an \'optimum\' connect