Optimize node ids research inside a Mesh (thanks @flolagale )