fix 3D array init
Merge pull request #61 from tzik/aggregate_init

fix 3D array init