A utility for automatically managing the intensity of cgminer