optimize solidification and enhance casting quality