Make the solution smooth.