docs: def _add_length_constrain(token_lst: List[Dict], lengths: List) -> List[Dict]:
          """
          Add length constrain for some token type, create cross production
          Args:
              token_lst: List[Dict]
              lengths: List
  
          Returns: List[Dict]
          """
  
          result = []
          for a_token in token_lst:
              for length in lengths:
                  if type(length) == str and length and length.isdigit():
                      a_token[attrs.LENGTH] = int(length)
                      result.append(copy.deepcopy(a_token))
                  elif type(length) == int:
                      a_token[attrs.LENGTH] = int(length)
                      result.append(copy.deepcopy(a_token))
          return result