CLN: remove unused and only use product from itertools