update to use quadtree and latest geometry library