Separate intevals from stitching logic