add run length compress

Signed-off-by: xiehuc <xiehuc@gmail.com>