It got visible choppy when it gets reduced by 0.25.
And yes, the if(rad)..  can certainly be outside te loop.