randomized the branch spawning better