optimizing circle transform