Optimizations in IneB2.

Reduced number of calculations in get_sumpart and tightened upper bound.