Switch to SPH hashing library for better performance