Change growth rate to template type to avoid slow math