precompute Node hash code