seperated trilinear in terpolation from raycastingslivr. the latter is the one we are developping now