changed node spawning and despawning rules