Cluster estimation algorithm is completed. Unit-tests are fixed