MAHOUT-1560 Last batch is not filled correctly in MultithreadedBatchItemSimilarities