let r1 and r2 be the radii of the largest and smallest circle