Add support for more than 32 dimensions.