limit the number of 'chunk' candidates generated
merge Can's PMI code into the main source directory