Fixed some types in MultiDim