MM optimizarions

  * grow should be 0 when MM is not used
  * do not use MM if no memory allocation takes place