added xcb_sumof() with restriction to uint8_t