We first use a toy example to explain how to calculate the upper bound.