Changed sum over neighbors.