Added maximum compression option