Changed CalcLength back to Length