Free-streaming approximation in early dynamics of relativistic heavy-ion collisions