Obstacle spawns takes density into account