ssm reduce