Family Law Questions? Ask a Family Lawyer Online.
If the original order calls for him to get half then you are required to do so. The expenses that you occurred over the last 17 years were expense you took on for living in the home and thus it is unlikely the judge would consider changing the original order.
Your only other option is to not sale the home or petition for a modification of the original order based on the funding you have put into the home. I will be honest.....you will likely be denied. The expenses you paid you would have paid to live in a home regardless and this has little effect on his rights to half the home.
If you do wish to change the order I would strongly advise you to seek legal counsel to fight this for you based on the difficulty of the situation.