calcNeighbors added