Merge "Switch the dimensions array to use uint32_t instead of size_t."