public void AddB(int index, int val) {
                b[index] = (b[index] + val & 0xFF);
                w[(index >> 1)] = (b[((index & 0xFFFFFFFE) + 1)] << 8 | b[(index & 0xFFFFFFFE)]);
            }