Ensure the priority of AA functions (spm_mods)
function required for firstlevel_threshold