Except as otherwise provided by law, or unless the property is indivisible by nature or cannot conveniently be divided, the court shall order the partition to be made in kind.