Correctly count number of procs
Allow minimum value for mining
Generate litecions