[multi_array] how to modify the dimension of an array?