improved the automatic choice of the number of PME nodes