Setting all curves index now there is one curve per index of the start or end value