udaaf,
Sorry, I can't relate your CAD drawing with Figure 2 and the with the data list
Can you please provide several examples of data lists ( several different sizes) with the matching tree diagram filled in with all values.
In your figure 2 , do the empty squares have a value or not ?
My difficulty is understanding how you are determining which values are assigned to which nodes.
Regards,