get rid of small numbers but allow big ones, to improve numerical stability