fixing the interval constraint
fixing the tests
Merge remote-tracking branch 'origin/master'