added zigzag row build support.