Start implementing gen_hexahedron.