Worked on collision detection performance