Create zigzag-conversion