Improve the compression algo