Correcting math for compression ratio in logger.