Improved management of min/max positions
Merge pull request #268 from fabienrohrer/master

Improved management of min/max positions