smaz: further reduce the encoder output to fit within the worst case