Thanks for your advice. Unfortunately, if I make it work faster, the power of most computers will not be enough to work properly. I have put a lot of effort into optimizing the code to get the current speed. So far I can't do any better.