Account for single-dimension input
Sparse cubes