please review: Ticket 49568 - Fix integer overflow on 32bit platforms when calculating nsState information