Techniques that allow the implementation of a 4D borderless lattice model in the form of a 3D hardware device