raise CUBE_MAX_DIM to 1000000

make it easier to break things: people explicitly using large numbers of dimensions know what they're getting into