changes to the interval container
problem with indexes used in FOR