- buildTree now allocates one array that contains all the nodes. This is
  much faster
Merge branch 'fastcount' into sa

Conflicts:
	sources/optimize.cc