large lattice neighbour issue
for a number of large lattices, the function find_nn_optimized_slice
crashes in line
218 for ind, line in enumerate(retlist): # padding retlist with zeros such that each array has the same length
--> 219 lst[ind, 1:len(line)+1] = line
stating a
ValueError: could not broadcast input array from shape (5,) into shape (4,)