fixing compression amount