C++ lock-free quadtree