Adding the xmax argument
Details bump
Update test suite