def cut(value):
    """Cut values in graphics primitives (not displayed otherwise in SVG)"""
    border = 10 ** 8
    if value < -border:
        value = -border
    elif value > border:
        value = border
    return value
