Please consider making the docstring more clear that the cubes are "assumed to be" comparable in all other dimensions, or adding a check.