def rescale(value, max_range=0.6, min_range=0.3):
    """
    rescale deltaG values by random distribution
    :param value: actual value
    :param max_range: max range
    :param min_range: min range
    :return: rescaled value
    """
    scaled = value

    if value > min_range:
        scaled = (value) * (max_range - min_range) + min_range

    return scaled