public static synchronized EnginesParameters getEnginesParameters(Users users, int numberOfUsers) {
        if (enginesParameters == null) {
            enginesParameters = new EnginesParameters();
        }
        if (numberOfUsers != enginesParameters.numberOfUsers) {
            enginesParameters.numberOfUsers = numberOfUsers;
            enginesParameters.countParameters(users, numberOfUsers);
        }

        return enginesParameters;
    }