rename parameters in generateRadii to shorter form