massey-2d-replace-high-degree-nodes