TreeOptimizer first steps