N-dimensional problem support added