def adjust_size64(length):
    """
    Calculates size of alignment, which is needed to add, to adjust block of data to match 64-bit size of variable.
    This feature is mainly used in function eval_all_terms to adjust data for GPU calculations.
        
    :param length: current length of object
    :return: alignment size
    """
    adjust = length % 64
    if adjust != 0:
        adjust = 64 - adjust
    return adjust