Adding some geometry necessary for quadtree