Binding energy calculations for metal aggregates