calc_difficulty