~BOPCol_TBBFunctor() {
   }
   //
-  void operator()( const flexible_range<Standard_Size>& aBR ) const{
-    Standard_Size i, iBeg, iEnd;
+  void operator()( const flexible_range<Standard_Integer>& aBR ) const{
+    Standard_Integer i, iBeg, iEnd;
     //
     TypeSolverVector& aV=*myPV;
     //
                         TypeSolverVector& aV) {
     //
     TypeFunctor aFunctor(aV);
-    Standard_Size aNb=aV.Extent();
+    Standard_Integer aNb=aV.Extent();
     //
     if (bRunParallel) {
-      flexible_for(flexible_range<Standard_Size>(0,aNb), aFunctor);
+      flexible_for(flexible_range<Standard_Integer>(0,aNb), aFunctor);
     }
     else {
-      aFunctor.operator()(flexible_range<Standard_Size>(0,aNb));
+      aFunctor.operator()(flexible_range<Standard_Integer>(0,aNb));
     }
   }
 };
     myContext=aCtx;
   }
   //
-  void operator()( const flexible_range<Standard_Size>& aBR ) const{
-    Standard_Size i, iBeg, iEnd;
+  void operator()( const flexible_range<Standard_Integer>& aBR ) const{
+    Standard_Integer i, iBeg, iEnd;
     TypeContext aCtx;
     //
     if (myContext.IsNull()) {
                         TypeContext& aCtx) {
     //
     TypeFunctor aFunctor(aV);
-    Standard_Size aNb=aV.Extent();
+    Standard_Integer aNb=aV.Extent();
     //
     if (bRunParallel) {
-      flexible_for(flexible_range<Standard_Size>(0,aNb), aFunctor);
+      flexible_for(flexible_range<Standard_Integer>(0,aNb), aFunctor);
     }
     else {
       aFunctor.SetContext(aCtx);
-      aFunctor.operator()(flexible_range<Standard_Size>(0,aNb));
+      aFunctor.operator()(flexible_range<Standard_Integer>(0,aNb));
     }
   }
 };