Fixed some bugs. 100 000 ops test is completed