Fixing circle calculation