Fixed singleton to work on points outside of given bb
Test for the quadtree implementation