Thinning optimization in mixed-species forests