swapped x and y dimensions in EM engine cave arrays