More implementation in rle