fn calculate_routing_internal( size: BoardSize, blocked: impl Fn(Coord) -> bool, ) -> Vec<Vec<Directions>>