Using a QuadTree to pixelise