I got a lot of answers and advice, tried changing my code according to these tips. But, unfortunately, these tips helped only partially.
Now, when creating a new proj