Calculating safe distances from enemy ship's bombardment