Add support for mining using 5, 6, 7 and 8 processes

Calculated memory usage by dividing number of processes by 1.2. This is just a guess based on the numbers for 1, 2, 3 and 4 processes.