Metal casting in a foundry