Metal casting techniques