add vcdiff encode