The ejection of target K electrons by projectiles which move with an arbitrary velocity v is calculated with the help of optimised basis states. These states are variationally determined by minimising the time-dependent monopole perturbation. As v increases, this prescription provides a continuous transition from molecular states to atomic states. It is demonstrated that a molecular description should not only be applied at low v, but also for very large energies of the ejected electron even if v is large. Calculations are performed for the collision systems Li + Ne and O + A1.