allowing stride=0 in make_args and make_ref_args by calculating alloc_size as if stride=1 See merge request !241