Simplified tree-rooting logic
Forcing edge lengths to numeric.