Zaslat SMS: Avalanches in the Bean critical-state model