more complete fixing of parameters for compression