made a configurable range for spawnNearbyCrates