From lists to unidimensional arrays