fixed regression where all z slices for row major data are the same