wt. = inv. distance