Slightly improve node cost demo.