Added isNeighboringSpace