Numerical modelling of the cluster targets for their optimization in femtosecond-laser-cluster-driven experiments