Explicity used UINT16_MAX, instead of 65535.