length conversions in eqdsk reader