Fix neighbor count