construction yearheightbb*CdiffCthrHdiffHthrClbHubstock buildingactive sample buildinginactive sample buildingC(b)H(b)C(b*)H(b*)weightdistance011dist(b,b*)w(b,b*)a. distance functionb. weighting function