metal resource optimization