How to calculate Bend Length.