bug fix

2 jobs for 182-sparserailgenerator-agent-placement-invalid-direction-2 in 31 minutes and 58 seconds (queued for 14 seconds)