add rod-cutting (DP)