This is probably easiest to think of it in a not-so-intuitive way. Instead of the heirs picking the houses, the houses pick the heirs i.e.
House 1 has a "choice" of being distributed to A, B or C
House 2 has a "choice" of being distributed to A, B or C
...
House 10 has a "choice" of being...