improved incremental check for clustering of solutions added