Trishear in 3D. Algorithms, implementation, and limitations