How to calculate the cutting length of haunch.