bufferTimeLineRaw = [1, 5, 10, 30, 60, 120, 300, 600].filter(b=>{
return b*speed < memory
}).map((b,i)=>{
let values = timesteps.map(t=>{
let f = 1/3*speed*(b/t+1/fps)
return f > memory ? memory : f
})
values.color = rawcolor
values.label = Math.floor(b/60) > 0 ? Math.floor(b/60) + "min" : b + "s"
values.labelcolor = rawcolor
values.labelind = rawlabelind
return values
})