Computational aspects of numerical integration based on optimal nodal splines