     }
      for(var i=0,n=smooth_reward_history[agentId].length;i<n;i++) {
        res.push([i, smooth_reward_history[agentId][i]]);
      }
      return res;
    }
    
    var simspeed = 2;
    function goveryfast() {
      window.clearInterval(current_interval_id);
      current_interval_id = setInterval(tick, 0);
      skipdraw = true;
      simspeed = 3;
    }
    function gofast() {
      window.clearInterval(current_interval_id);
      current_interval_id = setInterval(tick, 0);
      skipdraw = tru