Adds dimension check to avoid case where there would be only 1c, 1z and 1t.
This causes an error with the HyperstackConverter class