Determination of cutting sequences