Given a length of wood from which you want to cut pieces of a particular size, where should you place the cuts to get the maximum number of pieces from the wood and with the maximum extra length available for each piece?