SMS: Measure and integral