Tuning merging conditions