Inverse Design of Metal Nanoparticles’ Morphology