refactor base4_t and base2_t types