Optimal investments to establish property rights in land