In case any party fence has been already built, and the adjoining land be used by the owner thereof for any of the purposes set forth in Section 89-17-1, the party who built the same shall in like manner be entitled to compensation, to the extent that ought to be contributed by the owner of the adjoining land, and in case of refusal to pay the same, the amount may be assessed and a recovery had in the same manner as for erecting a new fence.