Updated the compression pecenatage computation