Updated analysis
Converts trees