computation of the non-smooth bounds added