fixed delta zigzag decoding problem