Similar Items: Hierarchical Multi‐Stage Frequency Offset Estimation for THz Communications