fix division by zero when map based compressor is used and written chunks are small (<13)