generate a tree using shortest path thru curves scattered and connected around collision objects and previous tree roots