validate url unit size