set up offset_apar and offset_bpar consistently so that the array slices below are consistent with the size of the response matrix