work towards better multidim array planning