Must compress string as per instruction requirements