RLE encoding processing added