Use `abs` in the condition

Do this so `nsmall` works the same way for large negative numbers as well as positive.