rewriting set_adjacent_overmaps

to something that doesn't go into special cases.