remove assert in production code

2 jobs for 189-add-visualization-for-distance-map in 47 minutes and 4 seconds (queued for 13 seconds)