fn calculate_granularity(bounding_box: &BoundingBox) -> i32
Expand description

Calculate granularity so the number of scores calculated stays constant independent of map size.