added a class to manage variations of layer thickness