Minor d2 computation speedup in searchenginednahash