free some memory on every image merge