Cleaner implementation of changing reference radius without numerically inverting the triangle function.