Added a command line option to control the number of dynamic chunks.