For example, if the taxpayer acquires a residence by gift or inheritance, and spends $20,000 in reconstructing such residence, only such $20,000 may be treated as his cost of purchasing the new residence.(ii) The taxpayer's cost of purchasing the new residence includes only so much of such cost as is attributable to acquisition, construction, reconstruction, or improvements made within the period