Fixing right bound
Merge branch 'firstcolision'