Checking for binary length