Bosses seem to appear somewhat randomly, not after a certain amount of loops. Is it random, or is there something (number of kills, number of buildings etc.) that causes bosses to appear?