Fixed new intervals calculation