latest, changed from mag to flux, works with new quadtree