Working version for pw len < 4 (times out on GPU with larger passwords)