Reverted hard puzzle generation optimization which turned out to be buggy.