Ok, even you do implement that, its not going to use conciderable amount of cpu like collisiondetection even with the help of bsp trees , but you don't need to use sqrt unless you have to display it on the screen in particular