better alignment of node ids