make BuildChunkIterator child class static
add byte array support
improve comments