Use the actual field lengths when creating the result array