Modifications on download and on IC (gap merging)