The definition of w_d as given in Section 2 is just for d=N. The correct definition for a general d can be found in Section 2 of https://arxiv.org/abs/2307.04864. Pointed out by Oana Padurariu.