BuildTrees changed to build trees for different combinations of number of players and board size values.

ISSUE: High memory consumption!