Fix uninitialized range, use better priority queue in quadtree version of oddson-tree