use exact diff to get ZigZag Conversion