support for hexa and octo in flex0