Correct bug that could make numiter almost infinite for very small displacements

The title says it all. When my previous PR was merged manually a check on positivity of numiterfloat was removed. Therefore you could get in very specific cases a very large numiter (cast in unsigned int)

This corrects it.