Tuned up spaceship collision code.