More general version of https://github.com/fmihpc/dccrg/issues/15, for example allow neighborhoods to be defined by number of layers or so that neighbors_of and _to are identical.