renamed xArity, fixed length zero conversion for to_typed_vector