a quadtree implementation with c#