If you simply want to refinance the first mortgage, your total housing debt shouldn't exceed 80 % of your home's market value, or else the
holders of the second
lien may
refuse to resubordinate (agree to stand behind the first - mortgage
holder for repayment if you default).