Ensure weight granularity is integer.