some imporvements to pixeliterator fo yx direction