code: def mark_and_add_effort(self, modulus, json_info):
          
          META_AMZ_FACT = 92. / 152.  # conversion from university cluster to AWS
          AMZ_C4_PRICE = 0.1  # price of 2 AWS CPUs per hour
  
          length = int(ceil(log(modulus, 2)))
          length_ceiling = int(ceil(length / 32)) * 32
  
          if length_ceiling in self.length_to_time_years:
              effort_time = self.length_to_time_years[length_ceiling]
          else:
              effort_time = -1
          if effort_time > 0:
              effort_time *= META_AMZ_FACT  # scaling to more powerful AWS CPU
              effort_price = effort_time * 365.25 * 24 * 0.5 * AMZ_C4_PRICE
          else:
              effort_price = -1
          json_info['marked'] = True
          json_info['time_years'] = effort_time
          json_info['price_aws_c4'] = effort_price
          return json_info
docs: Inserts factorization effort for vulnerable modulus into json_info
          :param modulus:
          :param json_info:
          :return: