creating new nodes as interval ends