author matching using heaviest matching