Version 1.4.1 allows to define the geometry of your materials using polygons. In 2D, every polygon is associated with a certain epsilon value; in 3D, every polygon is associated with a certain material stack (a vertical stack of materials, each with a certain thickness). This approach has very high accuracy, while at the same time consuming very little memory and having very good performance.