Solve several trees