code: def from_dict(cls, d):
          
          structure = Structure.from_dict(d['structure'])
          voronoi_list2 = from_bson_voronoi_list2(d['bson_nb_voro_list2'], structure)
          maximum_distance_factor = d['maximum_distance_factor'] if 'maximum_distance_factor' in d else None
          minimum_angle_factor = d['minimum_angle_factor'] if 'minimum_angle_factor' in d else None
          return cls(structure=structure, voronoi_list2=voronoi_list2,
                     # neighbors_lists=neighbors_lists,
                     normalized_angle_tolerance=d['normalized_angle_tolerance'],
                     normalized_distance_tolerance=d['normalized_distance_tolerance'],
                     additional_conditions=d['additional_conditions'],
                     valences=d['valences'],
                     maximum_distance_factor=maximum_distance_factor,
                     minimum_angle_factor=minimum_angle_factor)
docs: Reconstructs the VoronoiContainer object from a dict representation of the VoronoiContainer created using
          the as_dict method.
          :param d: dict representation of the VoronoiContainer object
          :return: VoronoiContainer object