The largest grant ever given by the Richard King Mellon Foundation will be split between a new science building at the university, a robotics center in an old steel mill and a new manufacturing-focused institute.