attempt on constraint-based diversification