rle encode/decode change due to clarified requirement