Improved performance of function node