Faster multi-bkg detection. Very messy though.