improve SubwordIterator