compression for very small strings