Fixed compression problem with uneven input/output buffers