Example 9.
Weight by metric hierarchy