changed inputs for Arithmetic compress methods