get_non_bond_breaking_slab rewritten.