Even partial ownership is not a solution.
If you buy just a small part, you have zero control over your money. You will be the prisoner from the majority. Everything they would decide you will have to accept, even if you don't agree at all. And if finally you are fed up with all this misery, you can only sell to the "family" with whom you had fights. That will end up in a bad price and a very bad investment.
In short: keep your hands off.
It will be easier to find a buyer for the whole building. If that person would be found, you have a reference price to sell parts between family members.
I know a family that had so much fights about land and houses, that it took TWO GENERATIONS to finally agree to sell everything. The whole family was fed up with discussions, going to court, breaking up the family in different groups...