Removed duplicated inv_perm_support