Fixed nested hex_lattice error