Bugfix (criterions --- concurent modification), optimization
(factorization of number)