Using PrimitiveLongIterator in more places