Modifies compression:
A lot of comments and code refactorings