def createExtraFillLoops(nestedRing, radius, radiusAround, shouldExtraLoopsBeAdded):
 for innerNestedRing in nestedRing.innerNestedRings:
  createFillForSurroundings(innerNestedRing.innerNestedRings, radius, radiusAround, shouldExtraLoopsBeAdded)
 allFillLoops = intercircle.getInsetSeparateLoopsFromAroundLoops(nestedRing.getLoopsToBeFilled(), radius, max((1.4 * radius), radiusAround))
 if (len(allFillLoops) < 1):
  return
 if shouldExtraLoopsBeAdded:
  nestedRing.extraLoops += allFillLoops
  nestedRing.penultimateFillLoops = nestedRing.lastFillLoops
 nestedRing.lastFillLoops = allFillLoops

def createExtraFillLoops ( nestedRing , radius , radiusAround , shouldExtraLoopsBeAdded ) : for innerNestedRing in nestedRing . innerNestedRings : createFillForSurroundings ( innerNestedRing . innerNestedRings , radius , radiusAround , shouldExtraLoopsBeAdded ) allFillLoops = intercircle . getInsetSeparateLoopsFromAroundLoops ( nestedRing . getLoopsToBeFilled ( ) , radius , max ( ( 1.4 * radius ) , radiusAround ) ) if ( len ( allFillLoops ) < 1 ) : return if shouldExtraLoopsBeAdded : nestedRing . extraLoops += allFillLoops nestedRing . penultimateFillLoops = nestedRing . lastFillLoops nestedRing . lastFillLoops = allFillLoops
create extra fill loops .