Add lines width check