stocks after divorce

I am finally wrapping up my divorce. My husband worked for an oil company and has about 8000 shares of stock.  I am receiving almost half as well as half his pension.  I also am buying him out of the house so our children can remain in their home.  I do not have the money to do this, so it will be a stock transfer.  I will be giving him stock that equates to the buyout.  I am hoping to refinance but I am worried about being able to.  My question is this, if I am unable to refinance the mortgage and have to sell stock to payoff my home, what will the tax situation be?  I only make $32000 a year.