with OpTree for Optimization