Improve accuracy of collision checking.