Improved hex creation