Fix potential overflow error in CEQs (XCC)