removed if statement which was always true as input is a 2byte unsigned short with max value of 0xFFFF which is < 0x10000