Fixed up the neighborhood array