Add printing of curve lengths.