Make math commutative/correct for Long/MIN_VALUE