Refactor buffered iterator in order not to use LongBuffer
Make LongBuffer fields final
Make LongBuffer fields final