Size effects on the fracture of microscale and nanoscale