Numerical simulation of the compression behavior of nanometer-sized Ag particles