function shift_aabb_origin()
    global vac;
    global tip;
    
    %% next in principle we have to carve us a grid with atoms that fits into the vacuum capsule
    % then we have to label which points are vacuum (ID == 0), which baseplate (ID == 2),
    % and which evaporatable ions (ID >=10), the following code does the
    % sculpting though at the moment it is tailored to do exactly the naive
    % upper procedure

    %% next we carve out all those atoms from a large instantiation of a rotated crystal lattice realization
    % whose coordinate are enclosed in the tip volume
    % as we will rotate this unit cell aggregate and do not want to generate
    % extremely large crystals we ideally would generate a crystal lattice only
    % a locations inside the tip, more lazy we generate a ball of unit cells,
    % most laziest we utilize VESTA to generate the lattice, to remove the
    % total size of the lattice, we temporarily displace the AABB such that its
    % center comes to (0,0,0) thereby effectively requiring in all directions
    % fewer unit cell replications
    for e=1:8
        vac.AABB(1:3,e) = vac.AABB(1:3,e) - vac.CENTER(1:3,1);
        tip.AABB(1:3,e) = tip.AABB(1:3,e) - vac.CENTER(1:3,1);
    end
    'AABBs shifted to maximize utilization of lattice grid points with small lattices'
end

