optimizing rle decoding loops a little