Where the return is in kind and the condition of the objects given has been improved by the act of the donee, he must be taken into account for this, having regard to what their value was increased at the time of the partition or alienation.
The donee must likewise be taken into account for the necessary expenses he has made for the conservation of the property, even if they have not improved it.