This fixes a small (old) bug when treating potential offsets in the generation of the super cell.

Signed-off-by: christophys <christoph.koch@uni-ulm.de>