Fixes bug with algorithm not generating all chunks.
Updates version number for last change.