Improved efficiency of xeval