public static int getStateMetricMaxVal() {
    switch(STATE_METRIC) {
    case DIV:
      return 0x4000;
    case DSum:
      return 0x100;
    case RNG:
      return 0x10000;
    case RNG1:
      return 0x100;
    case RNG2:
      return 0x100;
    case RANDOM:
    default:
      return 0x100;
    }
  }