Creation of the HEX geometry