If they have children , you will inherit one-fourth of their legacy after the debts and things bequeathed have been excluded from the legacy . After the payment of debts and things bequeathed have been excluded from the legacy , your wives will inherit one-fourth of your legacy if you have no surviving children .