fixed getAdjacency overlap