Added null check to MultiplyOrDie to prevent division by zero error in the bound check.