Added quadtree for fast spacial searches.