let neighbourhoods = match topology_boundary with | Types.Periodic -> periodic () | Types.Bounded -> bounded ()