reduce integer type complexity from int/size_t/uint32_t by unifying them to uint32_t; close #1778