Fixed code style
Fixed tests
Optimization of inlining
Fixed tests
Refactoring