Handled neighbours updating, but segfault