equal to the value of such agreement to such beneficiary
(i)#
as of the date of death of the insured (as if any option exercised under the life insurance contract were exercised at such time), and
(ii)#
as discounted on the basis of the interest rate used by the insurer in calculating payments under the agreement and mortality tables prescribed by the Secretary.