fixed constraints on decision algo