LGTM was complaining: > Multiplication result may overflow 'unsigned int' before it is converted to 'unsigned long'.