Added sample size to compress.