check minimum witdth