[master] improve compression enabling logic