quadTree implementation