Molecular dynamics simulation of nanocluster deposition on the metal substrate