change the calculation order.