The problem came only in the version 2018. Previously, the program ran smoothly.