Use my own constant instead of UCHAR_MAX.