adjust the index number of each bar coordinate, should be a constant 4 --- (x0,x0 for y0, x1, x1 for y1)