Separate circle fraction computation into helper function