Perform auto-merging on an interval