finish string compress