Renaming NB_MODULES in NB_MODULES_MAX
Closes #15 ; Fix bufferoverflow