Difficulty improvements with modulo