Change number of processes