Dropped getHex optimization attempt