Impose a minimum limit to amount of steps of 2

If imgmin is ran with max steps set to either 0 or 1, it will either fail with a cryptic error message (if 0), or just don't produce anything (if 1), so it makes sense to impose a lower limit of 2 steps.