I\'ve been implementing the PPM compression algorithm in python and have had some difficulty dealing with underflow with the adaptive arithmetic coder (when maintaining inte