uint8_t changed to uint_fast8_t