Given the if condition above, the Math.ceil() call is guaranteed to return at least 2.