Merging Qualitative Constraint Networks in a Piecewise Fashion