Fixed LONG_MIN handling in normalize method.