updated chunk documentation for new API; changing chunk_node to chunk_label
dropped generate_iter(), made generate() into an iterator