def vacuum_cost_limit(pg_in):
    """Calculate the vacuum_cost_limit"""
    if pg_in['disk_speed'] == 'fast':
        return 800
    elif pg_in['disk_speed'] == 'medium':
        return 600
    elif pg_in['disk_speed'] == 'slow':
        return 200
