compare bytesize against len