Mass of undecayed atoms calculation