extract convert unit to LengthUnitNew enum class