added B: compress e.g. aabbbcccc to a2b3c4