adaptive thresh flag