use a simpler way to compute the absolute of an int.