Merge "Correct the allocation size for ssim_vars"