'Higher weights win.  We want spreading to be the default.'

def _weigh_object(self, host_state, weight_properties):

    free_space = host_state.free_capacity_gb
    total_space = host_state.total_capacity_gb
    if ((free_space == 'infinite') or (free_space == 'unknown') or (total_space == 'infinite') or (total_space == 'unknown')):
        free = ((-1) if (CONF.capacity_weight_multiplier > 0) else float('inf'))
    else:
        thin = True
        vol_type = (weight_properties.get('volume_type', {}) or {})
        provision_type = vol_type.get('extra_specs', {}).get('provisioning:type')
        if (provision_type == 'thick'):
            thin = False
        free = utils.calculate_virtual_free_capacity(total_space, free_space, host_state.provisioned_capacity_gb, host_state.thin_provisioning_support, host_state.max_over_subscription_ratio, host_state.reserved_percentage, thin)
    return free
