Added cutting rod solution.