Just for curiosity,... can a custom allocator help in this case?

As you know the third template parameter of a multi_array is an allocator.

Thanks,
Alfredo