def transferClosestPaths(oldOrderedLocation, remainingPaths, skein):
 while (len(remainingPaths) > 0):
  transferClosestPath(oldOrderedLocation, remainingPaths, skein)

def transferClosestPaths ( oldOrderedLocation , remainingPaths , skein ) : while ( len ( remainingPaths ) > 0 ) : transferClosestPath ( oldOrderedLocation , remainingPaths , skein )
transfer the closest remaining paths .