merging criterion is working... hopefully