Create Running length encode