improved extracting XRF spectra from very large maps