In making the partition, referees must divide the property and allot the several portions thereof to the respective parties, quality and quantity relatively considered, according to the respective rights of the parties as determined by the court, pursuant to the provisions of this chapter, designating the several portions by proper landmarks, and may employ a surveyor with the necessary assistants to aid them. Before making partition or sale the referees, whenever it will be for the advantage of those interested, may set apart a portion of the property for a way, road, or street, and the portion so set apart shall not be assigned to any of the parties, nor sold, but shall remain an open and public way, road, or street, unless the referees shall set the same apart as a private way for the use of the parties interested, or some of them, their heirs or assigns, in which case it shall remain such private way.
N.D.C.C. § 32-16-13