solved error in currentblock calculation for z oriented iterators