def pop_rotation(node, original_rotate, rotate):
    """Removes the rotations of a node that are already used."""
    node['rotate'] = ' '.join(str(rotate.pop(0) if rotate else
        original_rotate[-1]) for i in range(len(node.text)))
