Adding upper bound to percentage