code: private Size parseSize(String token) {
          if (token.startsWith("[") && token.endsWith("]")) {
              return parseBoundedSize(token);
          }
          if (token.startsWith("max(") && token.endsWith(")")) {
              return parseOldBoundedSize(token, false);
          }
          if (token.startsWith("min(") && token.endsWith(")")) {
              return parseOldBoundedSize(token, true);
          }
          return parseAtomicSize(token);
      }
docs: Parses an encoded size spec and returns the size.
  
  @param token a token that represents a size, either bounded or plain
  @return the decoded Size