Merge: quadtree: use an array, fix warnings and standardize the doc