fix missing calcNeighbors call