Update BoW for making it use RunsetIterator

Update BoW for making it use RunsetIterator