Added code to adjust layer thickness.