If pw_len is over 172 you get:
Deep recursion on subroutine "main::gen_ck" at .../pwgen line 123.
Limit it to 172