The clusters have to be predied on a specific principle and some related formulas. Coding may then be derived in C#.