partitionsAdjacent