Fixed problem for the construction of sequence of primitive types