Speed improvement

Signed-off-by: Alexander Kucera <a.kucera@babylondreams.de>
Added option for checksumming

Beware, this is VERY slow for larger datasets.

Signed-off-by: Alexander Kucera <a.kucera@babylondreams.de>