Finding the best configuration set of parameters for nucleus density distribution for various nuclei