create_prog_array
map_fds[4] = create_prog_array(prog_type, 4, 0, 1, 2);
map_fds[5] = create_prog_array(prog_type, 8, 7, 1, 2);