That's just a mental trick which will end up costing you more over the long-run since the HELOC interest rate will almost certainly be higher than the first mortgage. Either pay down the mortgage extra each month, save enough in a savings account to pay it off all at once, or don't. No special tricks needed