Add an aligned interval.
Fix bug.