function main(conf) {
  var type = conf.type;
  var clazz = global[type];
  var n = +conf.n;