Changed difficulty verification in generator