Effects of the initialization of nucleon momentum in heavy-ion collisions at medium energies