compare compressed_string length to input string length