ods: roundtrip improvement for lengths.