fix a regression introduced yesterday in the brute force

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
pre-generate keys for more cases

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>