Smoothing clusters borders with weighted average