resolve RLE compressing in chapter 'Serialization'