global number_of_neighbours var to remove pointer/struct indirection