Fix dos by possibly creating many intervals