Remove need for __segment property and further simplify computeBoolean() code.
more optimizations in computeBoolean().

I think this is done now!
One last optimization in computeBoolean().
Fix accidental variable leakage.