Fix bug when too few slices extracted
Merge pull request #1 from unidesigner/master

bugfix: devision by zero in logging when too few slices were extracted