in the situation of a closing purchase of foreclosure less than any mortgage or charge affecting land, the lesser of, the worth of the thought determined underneath clause (a) additionally the quantity owed beneath the mortgage or charge at enough time it truly is foreclosed, such as principal, interest and all other charges and expenditures ot