SMS: Adaptive sampling