miner optimizations