I don't decline memsets (i dislike address assigning and related issues, like the current one, to be exact), but there's no other option.
The thing is that, for some reason, mem_set_values doesn't work, either.
There's either no value at all, or the same value is duplicated for all variables.