apply linear weighting to related entities