Add size-checking of the variable