A very layman answer to your question is see if you have been given anything in the range of [5,15] think it to be the HLEN needed to be multiplied by our scaling factor 4 since the range of header length is [20,60]. Anything given above 20, consider it has already been converted using the scaling factor