Fixing small accumulation of errors
Added a compressor