add N-dimensional slice type