Dislocation Confinement and Ultimate Strength in Nanoscale Polycrystals