toOptionalLong