adding monotonic constraint