try to calculate difficulty