A Constraint-Based Approach for Multispace Clustering