$50,000, reduced by the excess (if any) of—
(I)#
the highest outstanding balance of loans from the plan during the 1-year period ending on the day before the date on which such loan was made, over
(II)#
the outstanding balance of loans from the plan on the date on which such loan was made, or