Optimal allocation of bioassays in the case of parametrized covariance functions: an application to Lung’s retention of radioactive particles