diff --git a/Partition.py b/Partition.py
index 37adb4b9a08ddf13476fed0a1a5a5f4cccf64cb4..20afb3bc8e25a36b3da4b6d8200fefc0f1906627 100644
--- a/Partition.py
+++ b/Partition.py
@@ -347,7 +347,7 @@ class partition :
             else :
                 ERROR("Unforessen order of the variable to be sent to halo of land points")
                 sys.exit()
-            chks = range(0, chkdim, chksz)
+            chks = list(range(0, chkdim, chksz))
             chks.append(chkdim)
             #
             for j in range(len(chks)-1) :
diff --git a/SampleScripts/BuildHTUs.pbs b/SampleScripts/BuildHTUs.pbs
index 1f2c909fe96b9615e571242ff66faeee0a6c17f8..1975be3bc2a43c6c3c06376b7558ae89dbe2ef15 100644
--- a/SampleScripts/BuildHTUs.pbs
+++ b/SampleScripts/BuildHTUs.pbs
@@ -4,7 +4,7 @@
 #
 #PBS -j oe
 #PBS -l nodes=1:ppn=42
-#PBS -l walltime=48:00:00
+#PBS -l walltime=128:00:00
 #PBS -l mem=160gb
 #PBS -l vmem=160gb
 #