new version of triInterp