use sqrt to scale Hn before using it as weight