added a linewidth option for layer contacts