fixed generating colors for newly formed clusters
fixed asiging items to clusters