Input generation is ordered, extended and improved

Better results:
mysql> select bin(set_map), set_map, full_count, availability, goal from
struct_
data where BIT_COUNT(set_map)=1;
+--------------+---------+------------+--------------+------+
| bin(set_map) | set_map | full_count | availability | goal |
+--------------+---------+------------+--------------+------+
| 1            |       1 |       3368 |            0 | 1000 |
| 10           |       2 |       3235 |            0 | 1000 |
| 100          |       4 |       3250 |            0 | 1000 |
| 1000         |       8 |       3452 |            0 | 1000 |
| 10000        |      16 |       3275 |            0 | 1000 |
| 100000       |      32 |       3421 |            0 | 1000 |
| 1000000      |      64 |       3679 |            0 |  729 |
+--------------+---------+------------+--------------+------+
7 rows in set (0.00 sec)

mysql> select * from result_data;
+---------+-------+
| set_map | count |
+---------+-------+
|       1 |   990 |
|       2 |   971 |
|       4 |   969 |
|       8 |   986 |
|      16 |   990 |
|      32 |   985 |
|      64 |   712 |
+---------+-------+
7 rows in set (0.00 sec)