Transform do_choose to use binaries].