Modified String compression class