There is no point constructing all of the lattices for (say) `N <= 100`. All functions need a brute-force algorithm for really low particle number.