Build product tree in the right(tm) order