improve level spawning