fix node orientation for diameter reduction