Add constraint
Add averager