waitbuild
waitbuild(1, 0);
waitbuild(RunningWorkers, 1);
static void waitbuild(int whilematch, int dynamicmax);