multidimension in constructor