@staticmethod
def multiply(bigger, smaller):
    """
        Multiplies two potentials. Order matters.

        :param bigger: Bigger potential.
        :param smaller: Smaller potential.
        """
    for entry in smaller.entries:
        for e in bigger.get_matching_entries(entry):
            d = e.value * entry.value
            e.value = d
