changed cell_radius to average_obstacle_depth