fixing bug where loop to calculate chunks coudn't go as far as needed.
fixing bug where loop to calculate chunks coudn't go as far as needed.

jzacsh/jzacsh.github.com,jzacsh/jzacsh.github.com,jzacsh/jzacsh.github.com