 
     for i in [0..bar_colors.length]
       context.fillStyle = if(bar_colors[i] == 0) then "#BDBDBD" else "rgb(0, #{bar_colors[i]}, 0)"
-      context.fillRect(part_width * i, 10, part_width*0.95, canvas.height - 10)
+
+      if i == bar_colors.length - 1
+        context.fillRect(part_width * i, 10, part_width, canvas.height - 10)
+      else
+        context.fillRect(part_width * i, 10, part_width*0.95, canvas.height - 10)
 
     if(statistics.avg_simulation_time != undefined)
       $("#ei_perform_time_avg").html(statistics.avg_simulation_time)

    $("##{parent_id}").append(stats_par)
      .append($('<p>').attr('id', 'p_ei_perform_time_avg').append("Average time of performing a single experiment instance: ")
        .append($('<span>').attr('id', 'ei_perform_time_avg')).hide())
      .append($('<p>').attr('id', 'p_predicted_finish_time').append("Predicted time of finishing the experiment: ")
        .append($('<span>').attr('id', 'predicted_finish_time')).hide())

    $("#experiment_progress_bar").append($('<canvas>').attr('id', 'exp_progress_bar_2'))



  update_statistics: (statistics) ->
    $("#exp_all_counter").html(statistics.all.toString().with_delimeters())
#    $("#exp_generated_counter").html(statistics.generated.toString().with_delimeters())
    $("#exp_sent_counter").html(statistics.sent.toString().with_delimeters())
    $("#exp_done_counter").html(statistics.done_num.toString().with_delimeters())
    $("#exp_done_percentage_counter").html(statistics.done_percentage)
