use merge_like_ops after masking