attempts to improve robustness of collision detection