improved speed of scrypt, about 2x