Adjusting sm parameters.