adding size logging after compression (production mode)