diff --git a/src/CountMinSketch.hpp b/src/CountMinSketch.hpp
index 3c49bf734de44e4cc4da81fc925c6ec06783adb3..3216e0871e3c0bc7cfa33844b45867e05b4720a7 100644
--- a/src/CountMinSketch.hpp
+++ b/src/CountMinSketch.hpp
@@ -213,7 +213,8 @@ template<typename T> inline int CountMinSketch<T>::isRCovBelowThres(const T_read
     int PE2_below_thres=0;
     int a1=0,a2=0;
     int b1,b2=0;
-    int j,h;
+    int j;
+    unsigned int h;
     T min;
 
     int num=read_val.single_or_PE_val.size();
diff --git a/src/rock b/src/rock
deleted file mode 100755
index 4f0d88beed81d52cec39223588aba2d18baffdd3..0000000000000000000000000000000000000000
Binary files a/src/rock and /dev/null differ
diff --git a/test/rock.sh.log b/test/rock.sh.log
deleted file mode 100644
index a83eba7254fff665ee36de1dd015207a3df0a8d7..0000000000000000000000000000000000000000
--- a/test/rock.sh.log
+++ /dev/null
@@ -1,63 +0,0 @@
-srcdir=.
- 
-##################################################################################
-checking rock options and error mesages
- 
-##################################################################################
-creating directory for test output files
-copying input data for tests
-checking content of local data directory
-total 16
--rw-r--r--   1 vlegrand  staff    86 Apr 13 10:46 extract_klebsiella_long_reads_100.txt
--rw-r--r--   1 vlegrand  staff   112 Apr 13 10:46 extract_klebsiella_long_reads_100_filtered.txt
-drwxr-xr-x  10 vlegrand  staff   340 Apr 13 10:46 fastq.raw
-drwxr-xr-x  10 vlegrand  staff   340 Apr 13 10:46 iofiles.args
-drwxr-xr-x  35 vlegrand  staff  1190 Apr 13 10:46 unit
-checking content of local data/fastq.raw directory
-total 448
--rw-r--r--  1 vlegrand  staff  52814 Apr 13 10:46 klebsiella_100_1.fq
--rw-r--r--  1 vlegrand  staff  52814 Apr 13 10:46 klebsiella_100_1.rock.fq
--rw-r--r--  1 vlegrand  staff  52864 Apr 13 10:46 klebsiella_100_2.fq
--rw-r--r--  1 vlegrand  staff  52864 Apr 13 10:46 klebsiella_100_2.rock.fq
--rw-r--r--  1 vlegrand  staff   2667 Apr 13 10:46 klebsiella_5_1_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   2670 Apr 13 10:46 klebsiella_5_2_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   3195 Apr 13 10:46 klebsiella_6_1_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   3142 Apr 13 10:46 klebsiella_6_2_bad_scores.fq
-checking content of local data/iofiles.args directory
-total 64
--rw-r--r--  1 vlegrand  staff   86 Apr 13 10:46 extract_klebsiella_long_reads_100.txt
--rw-r--r--  1 vlegrand  staff  112 Apr 13 10:46 extract_klebsiella_long_reads_100_filtered.txt
--rw-r--r--  1 vlegrand  staff   70 Apr 13 10:46 output_files_2_PE_separated.txt
--rw-r--r--  1 vlegrand  staff   70 Apr 13 10:46 output_files_2_PE_separated_lenient.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_NQ_Thres_12.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_NQ_Thres_13.txt
--rw-r--r--  1 vlegrand  staff   88 Apr 13 10:46 output_files_NQ_Thres_very_low.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_noNQ_Thres.txt
- 
-##################################################################################
-doing more checks on options and error messages
-INT_MAX=2147483647
-UINT_MAX=4294967295
-LONG_MAX=9223372036854775807
-ULONG_MAX=18446744073709551615
-ULONG_MAX/UINT_MAX=4294967297
-ULONG_MAX%UINT_MAX=4294967294
-sizeof(short)=2
-sizeof(int)=4
-sizeof(long)=8
-checking that your machine has enough RAM to run test
-machine has: 16 GB of RAM
-testing CMS with lambda=2
-size of the CMS component: 32
-min=200
-testing CMS with PE not as single strict kappa prime implementation
-size of the CMS component: 8
-testing CMS with PE not as single lenient kappa prime implementation
-size of the CMS component: 8
-done
-srcdir=.
- 
-##################################################################################
-testing high filter
-./rock_mem.sh: line 13: 11120 Segmentation fault: 11  ../src/rock -C 100 -c 0 -l 2 -p 0 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt > /dev/null
-FAIL rock.sh (exit status: 255)
diff --git a/test/rock.sh.trs b/test/rock.sh.trs
deleted file mode 100644
index d2aa592cf1f56fcfa826609e896148d6a83b1928..0000000000000000000000000000000000000000
--- a/test/rock.sh.trs
+++ /dev/null
@@ -1,4 +0,0 @@
-:test-result: FAIL
-:global-test-result: FAIL
-:recheck: yes
-:copy-in-global-log: yes
diff --git a/test/test-suite.log b/test/test-suite.log
deleted file mode 100644
index e35ad320452533e70ec1cf67171a77ca939cd708..0000000000000000000000000000000000000000
--- a/test/test-suite.log
+++ /dev/null
@@ -1,81 +0,0 @@
-===================================
-   rock 1.8: test/test-suite.log
-===================================
-
-# TOTAL: 1
-# PASS:  0
-# SKIP:  0
-# XFAIL: 0
-# FAIL:  1
-# XPASS: 0
-# ERROR: 0
-
-.. contents:: :depth: 2
-
-FAIL: rock.sh
-=============
-
-srcdir=.
- 
-##################################################################################
-checking rock options and error mesages
- 
-##################################################################################
-creating directory for test output files
-copying input data for tests
-checking content of local data directory
-total 16
--rw-r--r--   1 vlegrand  staff    86 Apr 13 10:46 extract_klebsiella_long_reads_100.txt
--rw-r--r--   1 vlegrand  staff   112 Apr 13 10:46 extract_klebsiella_long_reads_100_filtered.txt
-drwxr-xr-x  10 vlegrand  staff   340 Apr 13 10:46 fastq.raw
-drwxr-xr-x  10 vlegrand  staff   340 Apr 13 10:46 iofiles.args
-drwxr-xr-x  35 vlegrand  staff  1190 Apr 13 10:46 unit
-checking content of local data/fastq.raw directory
-total 448
--rw-r--r--  1 vlegrand  staff  52814 Apr 13 10:46 klebsiella_100_1.fq
--rw-r--r--  1 vlegrand  staff  52814 Apr 13 10:46 klebsiella_100_1.rock.fq
--rw-r--r--  1 vlegrand  staff  52864 Apr 13 10:46 klebsiella_100_2.fq
--rw-r--r--  1 vlegrand  staff  52864 Apr 13 10:46 klebsiella_100_2.rock.fq
--rw-r--r--  1 vlegrand  staff   2667 Apr 13 10:46 klebsiella_5_1_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   2670 Apr 13 10:46 klebsiella_5_2_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   3195 Apr 13 10:46 klebsiella_6_1_bad_scores.fq
--rw-r--r--  1 vlegrand  staff   3142 Apr 13 10:46 klebsiella_6_2_bad_scores.fq
-checking content of local data/iofiles.args directory
-total 64
--rw-r--r--  1 vlegrand  staff   86 Apr 13 10:46 extract_klebsiella_long_reads_100.txt
--rw-r--r--  1 vlegrand  staff  112 Apr 13 10:46 extract_klebsiella_long_reads_100_filtered.txt
--rw-r--r--  1 vlegrand  staff   70 Apr 13 10:46 output_files_2_PE_separated.txt
--rw-r--r--  1 vlegrand  staff   70 Apr 13 10:46 output_files_2_PE_separated_lenient.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_NQ_Thres_12.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_NQ_Thres_13.txt
--rw-r--r--  1 vlegrand  staff   88 Apr 13 10:46 output_files_NQ_Thres_very_low.txt
--rw-r--r--  1 vlegrand  staff   76 Apr 13 10:46 output_files_noNQ_Thres.txt
- 
-##################################################################################
-doing more checks on options and error messages
-INT_MAX=2147483647
-UINT_MAX=4294967295
-LONG_MAX=9223372036854775807
-ULONG_MAX=18446744073709551615
-ULONG_MAX/UINT_MAX=4294967297
-ULONG_MAX%UINT_MAX=4294967294
-sizeof(short)=2
-sizeof(int)=4
-sizeof(long)=8
-checking that your machine has enough RAM to run test
-machine has: 16 GB of RAM
-testing CMS with lambda=2
-size of the CMS component: 32
-min=200
-testing CMS with PE not as single strict kappa prime implementation
-size of the CMS component: 8
-testing CMS with PE not as single lenient kappa prime implementation
-size of the CMS component: 8
-done
-srcdir=.
- 
-##################################################################################
-testing high filter
-./rock_mem.sh: line 13: 11120 Segmentation fault: 11  ../src/rock -C 100 -c 0 -l 2 -p 0 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt > /dev/null
-FAIL rock.sh (exit status: 255)
-