calculate cutting length rcc