factorize minion id prediction part2