Use intervals to update the flag position