average_output_time=DIFFICULTY_TARGET_V2*blocks_to_consider/outputs_to_consider;// this assumes constant target over the whole rct range
average_output_time=DIFFICULTY_TARGET_V2*blocks_to_consider/static_cast<double>(outputs_to_consider);// this assumes constant target over the whole rct range