Large XP Fix

The XP calculate will get problem when the XP value execeed 32 bits.
The D3 use 64 bits for XP. So I combines the XP lower part and
higher part.