Now the algorithm is fine. Just need to lower the overhead to actually compress something.