Origin of the periodicity of the genome explained