allocate the parms array exactly big enough