/**
  * Set the maximum bandwidth for the node, choosing uniformly at random among 4 values.
  *
  * <p>The allowed bandwidth speed are 640 Kbps, 1 Mbps, 2 Mbps and 4 Mbps.
  *
  * @param p The BitTorrent protocol
  */
 private void setBandwidth(BitTorrent p) {
   // int value = CommonState.r.nextInt(4);
   // switch(value){
   // 	case 0: p.setBandwidth(640);break; //640Kbps
   // 	case 1: p.setBandwidth(1024);break;// 1Mbps
   // 	case 2: p.setBandwidth(2048);break;// 2Mbps
   // 	case 3: p.setBandwidth(4096);break; //4Mbps
   // }
   p.setBandwidth(1024);
 }