add multi-dimension array => 1-dimension array