Fixed constraints w.r.t. du
Edited constraints
Added some constants to settings.js