Quick solution to additional constraints.