enable adaptive sampling